//默认参数
import {CONTENT_TYPE_FROM_URLENCODED} from './constants.js'
const DEFAULTS={
  method:'GET',
  params:null,
  data:null,
  contentType:CONTENT_TYPE_FROM_URLENCODED,
  responseType:"",
  timeoutTime:0,
  withCredentials:false,
  success(){},
  httpCodeError(){},
  error(){},
  abort(){},
  timeout(){}
}
export default DEFAULTS;